package lad02.test14;

public class Test14 {public static void main(String[] args) {
    System.out.println("测试Rectangle类");
    Rectangle rectangle = new Rectangle();
    rectangle.length = 6;
    rectangle.wide = 4;
    rectangle.getArea();

    System.out.println("测试Circle类。");
    Circle circle = new Circle();
    circle.radius = 1.3;
    circle.getArea();
}
}
